.sy-dialog-box {
    position: absolute;
    background-color: rgba(0, 0, 0, 0);
    top: 0;
    height: 100%;
    z-index: 1000;
    width: 100%;
}

.sy-dialog-full-box {
    position: fixed;
    background-color: rgba(0, 0, 0, 0);
    top: 0;
    height: 100%;
    z-index: 1000;
    left: 0;
    width: 100%;
}

.sy-dialog {
    position: absolute;
    top: 50%;
    background-color: #fff;
    z-index: 1002;
    box-shadow: 0 0 15px rgba(0, 0, 0, .3);
    transform: translate(0, -50%);
    max-height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 5px;
}

.sy-dialog__header {
    padding: 0 20px;
    position: absolute;
    top: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    z-index: 1002;
    box-sizing: border-box;
}

.sy-dialog__title {
    line-height: 1;
    font-size: 14px;
    font-weight: 700;
    color: rgb(61, 31, 52);
}

.sy-dialog__headerbtn {
    float: right;
    background: 0 0;
    border: none;
    outline: 0;
    padding: 0;
    cursor: pointer;
    color: #ccc;
    width: 40px;
    line-height: 40px;
    position: relative;
    left: 10px;
}

.sy-dialog__footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: #fff;
    box-sizing: border-box;
    text-align: right;
    line-height: 50px;
    z-index: 1002;
    box-sizing: border-box;
    padding: 0 10px;
}

.sy-dialog__body {
    overflow-y: auto;
    font-size: 14px;
    box-sizing: border-box;
    position: absolute;
    top: 40px;
    bottom: 50px;
    width: 100%;
    z-index: 1000;
}

.sy-dialog__body_auto {
    max-height: 600px;
    overflow-y: auto;
    font-size: 14px;
    margin: 40px 0 50px 0;
    box-sizing: border-box;
    position: relative;
}


/*fade*/

.dialog-slide-fade-enter-active,
.dialog-slide-fade-leave-active {
    transition: opacity .5s;
}

.dialog-slide-fade-enter,
.dialog-slide-fade-leave-to {
    opacity: 0
}


/*/*右进右出*/

.dialog-slide-right-enter-active {
    animation: dialog-slide-right-in .5s;
}

.dialog-slide-right-leave-active {
    animation: dialog-slide-right-out .5s;
}


/*左进左出*/

.dialog-slide-left-enter-active {
    animation: dialog-slide-left-in .5s;
}

.dialog-slide-left-leave-active {
    animation: dialog-slide-left-out .5s;
}


/*左进右出*/

.dialog-slide-lr-enter-active {
    animation: dialog-slide-left-in .5s;
}

.dialog-slide-lr-leave-active {
    animation: dialog-slide-right-out .5s;
}


/*右进左出*/

.dialog-slide-rl-enter-active {
    animation: dialog-slide-right-in .5s;
}

.dialog-slide-rl-leave-active {
    animation: dialog-slide-left-out .5s;
}


/*上进上出*/

.dialog-slide-top-enter-active {
    animation: dialog-slide-top-in .5s;
}

.dialog-slide-top-leave-active {
    animation: dialog-slide-top-out .5s;
}


/*上进下出*/

.dialog-slide-tb-enter-active {
    animation: dialog-slide-top-in .5s;
}

.dialog-slide-tb-leave-active {
    animation: dialog-slide-bottom-out .5s;
}


/*下进下出*/

.dialog-slide-bottom-enter-active {
    animation: dialog-slide-bottom-in .5s;
}

.dialog-slide-bottom-leave-active {
    animation: dialog-slide-bottom-out .5s;
}


/*下进上出*/

.dialog-slide-bt-enter-active {
    animation: dialog-slide-bottom-in .5s;
}

.dialog-slide-bt-leave-active {
    animation: dialog-slide-top-out .5s;
}

@keyframes dialog-slide-right-in {
    0% {
        /*transform: translate(0,0);*/
        opacity: 0;
        left: 100%;
        right: 0;
    }
    100% {
        /*transform: translate(-100%, 0);*/
        opacity: 1;
        left: 0;
        right: 0;
    }
}

@keyframes dialog-slide-left-in {
    0% {
        opacity: 0;
        left: -100%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

@keyframes dialog-slide-right-out {
    0% {
        /*transform: translate(-500px, 0);*/
        opacity: 1;
        left: 0;
        right: 0;
    }
    100% {
        /*transform: translate(0, 0);*/
        opacity: 0;
        left: 100%;
        right: 0;
    }
}

@keyframes dialog-slide-left-out {
    0% {
        opacity: 1;
        left: 0;
    }
    100% {
        opacity: 0;
        left: -100%;
    }
}

@keyframes dialog-slide-top-in {
    0% {
        opacity: 0;
        top: -100%;
    }
    100% {
        opacity: 1;
        top: 0;
    }
}

@keyframes dialog-slide-top-out {
    0% {
        opacity: 1;
        top: 0;
    }
    100% {
        opacity: 0;
        top: -100%;
    }
}

@keyframes dialog-slide-bottom-in {
    0% {
        opacity: 0;
        top: 100%;
    }
    100% {
        opacity: 1;
        top: 0;
    }
}

@keyframes dialog-slide-bottom-out {
    0% {
        opacity: 1;
        top: 0;
    }
    100% {
        opacity: 0;
        top: 100%;
    }
}

.sy-full-model {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
    background: #000
}

.sy-model {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
    background: #000
}

.sy-modal-enter {
    animation: v-modal-in .2s ease
}

.sy-modal-leave {
    animation: v-modal-out .2s ease forwards
}

@keyframes v-modal-in {
    0% {
        opacity: 0
    }
}

@keyframes v-modal-out {
    100% {
        opacity: 0
    }
}